package com.shycloud.mido.homework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.homework.api.entity.WeekBestHomework;
import com.shycloud.mido.homework.api.vo.WeekBestHomeworkVO;
import com.shycloud.mido.homework.api.vo.WeekPayloadVO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 周报高光时刻 Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
public interface WeekBestHomeworkMapper extends BaseMapper<WeekBestHomework> {

	List<WeekBestHomeworkVO> getBestHomework(@Param("memberId") String memberId, @Param("weekId") String weekId);
	
	List<WeekBestHomeworkVO> getWeekBestHomeworkByStudent(@Param("param") String studentId,@Param("week") WeekPayloadVO weekPayloadVO);
	
}
